package org.flowable.pz.entity.vo;

import lombok.Getter;
import lombok.Setter;

/**
 * 流程实例查询条件实例
 * */
@Getter
@Setter
public class FlowableProcessQueryVo extends FlowablePageQueryVo<FlowableProcessQueryVo>{

    //流程定义 key
    private String processDefineKey;

    //流程实例 id
    private String processInstanceId;

    //状态 根据 FlowableStatusEnum 枚举
    private Integer status;

    public FlowableProcessQueryVo(){}
    public FlowableProcessQueryVo(String processDefineKey, String processInstanceId, Integer status, Integer pageIndex, Integer pageSize){
        super(pageIndex, pageSize);
        this.processDefineKey = processDefineKey;
        this.processInstanceId = processInstanceId;
        this.status = status;
    }
}
